

export const btnList = [
	{ name: '放大', icon: 'icon-zoomin', type: 'zoomIn' },
	{ name: '缩小', icon: 'icon-zoomout', type: 'zoomOut' },
	{ name: '原始比例', icon: 'icon-icon-test', type: 'originalScale' },
	{ name: '复制', icon: 'icon-file-copy', type: 'copy', btnDisabled: 'canCopy' },
	{ name: '粘贴', icon: 'icon-diff', type: 'paste', btnDisabled: 'canPaste' },
	{ name: '撤销', icon: 'icon-undo', type: 'undo', btnDisabled: 'canUndo' },
	{ name: '重做', icon: 'icon-redo', type: 'redo', btnDisabled: 'canRedo' },
	{ name: '删除', icon: 'icon-delete', type: 'del', btnDisabled: 'canDel' }
]


export const disabledColor = {
	color: '#8cc5ff',
	backgroundColor: '#ecf5ff',
	borderColor: '#d9ecff'
}


export const optionList = [
  { label: '正则', value: '0' },
  { label: '比较', value: '1' },
]

export const compareOption = [
  { label: "=", value: "=" },
  { label: ">", value: ">" },
  { label: "<", value: "<" },
  { label: ">=", value: ">=" },
  { label: "<=", value: "<=" },
  { label: "in", value: "in" },
  { label: "not in", value: "not in" },
  { label: "<>", value: "<>" }
]

export const compareMap = {
  "=": "等于",
  ">": "大于",
  "<": "小于",
  ">=": "大于等于",
  "<=": "小于等于",
  "in": "in",
  "not in": "not in",
  "<>": "<>",
}